//
//  RegisterViewController.m
//  A段项目
//
//  Created by ～whc on 15-6-20.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "RegisterViewController.h"

@interface RegisterViewController ()

@end

@implementation RegisterViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self.view setBackgroundColor:[UIColor clearColor]];
    self.navigationController.navigationBar.translucent = NO;
    self.navigationItem.title = @"流媒体资讯";
    [self createRegister];
    
}

- (void)createRegister
{
    self.registerView = [[RegisterView alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    [self.registerView setBackgroundColor:[UIColor whiteColor]];
    [self.view addSubview:self.registerView];
    
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"pic_web_back.png"] style:UIBarButtonItemStyleDone target:self action:@selector(barButtonItemAction)];

}

- (void)barButtonItemAction
{
    [self.navigationController popViewControllerAnimated:YES];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
